package cn.itsource.service;

import cn.itsource.pojo.app.dto.AppRegisterDto;
import cn.itsource.pojo.app.vo.GeoVo;
import cn.itsource.pojo.domain.Driver;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 司机对象 服务类
 * </p>
 *
 * @author beishan
 * @since 2024-03-25
 */
public interface IDriverService extends IService<Driver> {

    /**
     * 注册
     * @param appRegisterDto
     */
    void register(AppRegisterDto appRegisterDto);

    /**
     * 保存司机实时位置到redis
     * @param vo
     */
    void geo(GeoVo vo);
}
